package com.gears_software.sxdc.dccx.data.model;

import com.gears_software.sxdc.dccx.data.db.DBUtils;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.util.Date;

/**
 * Created by chezhenzhen on 2017/9/30.
 */

@DatabaseTable(tableName = "pathRecordTable")
public class PathRecord {
    @DatabaseField(generatedId = true)
    private int id;
    @DatabaseField
    private String orderId;
    @DatabaseField
    private double latitude;
    @DatabaseField
    private double longitude;
    @DatabaseField
    private Date mDate;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public Date getmDate() {
        return mDate;
    }

    public void setmDate(Date mDate) {
        this.mDate = mDate;
    }


    public PathRecord(int id, String orderId, double latitude, double longitude, Date mDate) {
        this.id = id;
        this.orderId = orderId;
        this.latitude = latitude;
        this.longitude = longitude;
        this.mDate = mDate;
    }

    public PathRecord() {
    }


}
